package community.service;

import java.util.ArrayList;

import community.domain.Question;
import community.exception.DatabaseException;

public interface IQuestionService {
	
	public void addQuestion(Question question) throws DatabaseException;

	public ArrayList<Question> getQuestion(int tid) throws DatabaseException;
	public Question getQuestionByqid(int qid) throws DatabaseException;

}
